#include "mainwindow.h"
#include <QApplication>
#include "mgame.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Mgame w;
    w.show();
    MainWindow w2;
    QObject::connect(&w,SIGNAL(showmain()),&w2,SLOT(recivelogin()));
    return a.exec();
}
